import { connect } from 'react-redux'
import {addTodo, completeAllTodos} from '../redux/action'
import Header from '../components/Header'

export default connect(null, { addTodo, completeAll: completeAllTodos })(Header)